package com.example.lottery_system.service;


import com.example.lottery_system.controller.param.PageParam;
import com.example.lottery_system.controller.param.PrizeParam;
import com.example.lottery_system.controller.result.PageResult;
import com.example.lottery_system.service.dto.PrizeListDto;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface PrizeService {
    String picUp(MultipartFile multipartFile);

    Long createPrizeService(PrizeParam param, MultipartFile picFile);

    PageResult<List<PrizeListDto>> findPrizes(PageParam param);

    Boolean deletePrize(Long prizeId);
}
